﻿using System;

namespace winS.UnityEditor.UIElement
{
    /// <summary>
    /// Represents has value <typeparamref name="T"/>.
    /// </summary>
    public interface IHasValue<T>
    {
        public event Action<T> onValueChanged;

        public T value { get; set; }

        public void SetValueWithoutNotify(T value);
    }
}